package com.skyolder.milkbee.dto;

import java.io.Serializable;
import java.time.ZonedDateTime;
public class HisPost implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4768203025668523549L;
	public static final int CARD_TYPE=1;
	public static final int COMMENT_TYPE=2;
	private Long id;
	private int type;
	private String title;
	private String content;
	private ZonedDateTime createdAt;
	
	private Long cardId;
	public HisPost(){
		
	}
	public HisPost(Long id,String title,String content,ZonedDateTime createdAt,Long cardId){
		this.id=id;
		this.title=title;
		this.content=content;
		this.createdAt=createdAt;
		this.cardId=cardId;
	}
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public ZonedDateTime getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(ZonedDateTime createdAt) {
		this.createdAt = createdAt;
	}

	public Long getCardId() {
		return cardId;
	}

	public void setCardId(Long cardId) {
		this.cardId = cardId;
	}

}
